Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added some 'mutex love'. #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added some 'mutex love'. #127

wants to merge 1 commit into from

Conversation

drdaz
Copy link

@drdaz drdaz commented Jan 31, 2015

As is in the current version, if you start and stop recording a few times in quick succession, you'll likely run into an EXC_BAD_ACCESS in AudioRingBuffer::getTimeBounds. These changes do some kind of locking magic with the output file and stop this from happening.

I've just ported these changes without fully understanding how things work. But they do now work as far as my limited testing shows.

Based on changes described at:

http://stackoverflow.com/questions/7961087/exc-bad-access-in-audioringbuffergettimebounds
alexbw/novocaine#35

@ogoldfinger
Copy link

+1 for this merge if it works. I'm continually seeing this crash occurring in my app using EZRecorder. I stumbled on the same SO post as well but I'm also not familiar with the framework at this level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants